package com.hzhjhh.view.manageView.navigations;

import javax.swing.tree.DefaultMutableTreeNode;

/**
 * 导航栏初始化-进销存管理
 * 
 * @author 12083
 *
 */
public class RootMgInit {

	public static DefaultMutableTreeNode init() {
		DefaultMutableTreeNode root = new DefaultMutableTreeNode("进销存管理");

		DefaultMutableTreeNode mtnSaleMg = SaleMgInit.init();
		DefaultMutableTreeNode mtnStockQuery = StockQueryInit.init();
		DefaultMutableTreeNode mtnUserMg = UserMgInit.init();
		DefaultMutableTreeNode mtnInfoQuery = InfoQueryInit.init();
		DefaultMutableTreeNode mtnMerchandiseMg = MerchandiseMgInit.init();
		root.add(mtnSaleMg);
		root.add(mtnStockQuery);
		root.add(mtnUserMg);
		root.add(mtnInfoQuery);
		root.add(mtnMerchandiseMg);

		return root;
	}
}
